<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="ch">
<head>
    <base th:href="${#request.getScheme()}+'://'+${#request.getServerName()}+':'+${#request.getServerPort()}+${#request.getContextPath()}">
    <meta charset="UTF-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>确认订单</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/layui/css/layui.css}"/>
    <script th:inline="javascript">
        var basePath = [[${#httpServletRequest.getScheme() + "://" + #httpServletRequest.getServerName() + ":" + #httpServletRequest.getServerPort() + #httpServletRequest.getContextPath()}]];
        var userid = [[${session.userid}]];
    </script>
</head>
<body style="margin:10px;background-color: white">
<div th:align="center">
    <form>
        <h2>订单商品信息</h2>
    </form>
</div>
<div class="wrapper wrapper-content" th:align="center">
    <div class="row">
        <div class="col-sm-12">
            <div class="animated fadeIn">
                <table class="layui-hide" id="order" lay-filter="test" style="width:100%"></table>
            </div>
        </div>
    </div>
</div>
<div  style="position: relative; left:11%;">
    <form>
        <div class="layui-input-block">
            <h3>总计：￥<input id="total_price" type="text" name="total" disabled readonly style="border-style:none;
            width: 100px; color: red"></h3>
        </div>
    </form>
</div>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <h2 th:align="center">收件人信息</h2>
                <div class="layui-card-body" pad15>
                    <div style="width: 650px; position: relative; left:40%;">
                        <form class="layui-form" >
                            <div class="layui-form-item">
                                <label class="layui-form-label">收件人姓名</label>
                                <div class="layui-input-inline">
                                    <input type="text" id="receivename" name="receivename" lay-verify="required" lay-reqtext="收件人姓名不能为空"
                                           placeholder="请输入收件人姓名"
                                           autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">收件人电话</label>
                                <div class="layui-input-inline">
                                    <input type="text" id="receivephone" name="receivephone" lay-verify="required"
                                           lay-reqtext="收件人电话不能为空"
                                           placeholder="请输入收件人电话"
                                           autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">收件人地址</label>
                                <div class="layui-input-inline">
                                    <input type="text" id="receiveaddress" name="receiveaddress" lay-verify="required"
                                           lay-reqtext="收件人地址不能为空"
                                           placeholder="请输入收件人地址"
                                           autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo2">立即支付</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
<script th:src="@{/static/css/style.css}"></script>
<script th:src="@{/static/layui/jquery.min.js}"></script>
<script th:src="@{/static/layui/layui.js}"></script>
<script th:src="@{/static/js/userInfo/confirmorder.js}"></script>
</html>